package org.easymis.entitys.mybatis.dto;
import java.io.Serializable; 
import org.easymis.commons.generator.annotation.GenField; 
import org.easymis.commons.generator.annotation.GenModel; 
import org.easymis.commons.generator.annotation.GenTable; 
import java.util.*; 
 
  
  
 @GenTable(name="easymis_address") 
@GenModel(packageName="org.easymis.entitys.mybatis",modelName="EasymisAddress")  
public class EasymisAddress implements Serializable {
	@GenField(labelname = "", column = "address_id", id = true, length = 20, isnull = false)
	private String addressId;
	@GenField(labelname = "地区名", column = "address_name", length = 255, isnull = true)
	private String addressName;
	@GenField(labelname = "上级ID", column = "parent_id", length = 255, isnull = true)
	private String parentId;
	@GenField(labelname = "区域级别", column = "level", isnull = true)
	private Integer level;
	@GenField(labelname = "是否有下级。0-否，1-是", column = "child", isnull = true)
	private Integer child;
	@GenField(labelname = "遍历下级ID", column = "child_ids", length = 11, isnull = true)
	private String childIds;
	@GenField(labelname = "排列顺序", column = "priority", isnull = true)
	private Integer priority;
	@GenField(labelname = "状态0-未使用 1-使用 9-删除", column = "status", isnull = true)
	private Integer status;
	@GenField(labelname = "地区拼音", column = "spell", length = 255, isnull = true)
	private String spell;
	@GenField(labelname = "地区标识。0-普通城市，1-单列城市", column = "flag", length = 255, isnull = true)
	private String flag;
	@GenField(labelname = "地区邮编", column = "zip", length = 255, isnull = true)
	private String zip;
	@GenField(labelname = "首字母", column = "first_letter", length = 255, isnull = true)
	private String firstLetter;

	public String getAddressId() {
		return addressId;
	}

	public void setAddressId(String addressId) {
		this.addressId = addressId;
	}

	public String getAddressName() {
		return addressName;
	}

	public void setAddressName(String addressName) {
		this.addressName = addressName;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getChild() {
		return child;
	}

	public void setChild(Integer child) {
		this.child = child;
	}

	public String getChildIds() {
		return childIds;
	}

	public void setChildIds(String childIds) {
		this.childIds = childIds;
	}

	public Integer getPriority() {
		return priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getSpell() {
		return spell;
	}

	public void setSpell(String spell) {
		this.spell = spell;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getZip() {
		return zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}

	public String getFirstLetter() {
		return firstLetter;
	}

	public void setFirstLetter(String firstLetter) {
		this.firstLetter = firstLetter;
	}
}    
